package eg.com.itiga.repository.itian;

import java.util.List;

import eg.com.itiga.domain.Department;
import eg.com.itiga.domain.Itian;
import eg.com.itiga.repository.base.BaseDao;
import eg.com.itiga.repository.exception.DataException;

public interface ItianDao extends BaseDao{
	
	List<Itian> searchItian (String name , int department , int intake)throws DataException;
	List<Department> getAllDepartment ()throws DataException ;
	public Itian retriveITIanData(int id) throws DataException;
	Itian getUserData (int uid)throws DataException ;
	List<Itian> getWorkedItians()throws DataException;
	
	public List<Itian> getUnWorkedItians(List<Itian> selectedList) throws DataException;
	public List<Itian> getItianByDeptAndIntake(int department, int intake)	throws DataException; 
}
